package com.foreverwin.mes.lims.model;

import java.io.Serializable;

import com.baomidou.mybatisplus.activerecord.Model;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import java.io.Serializable;
import com.baomidou.mybatisplus.enums.IdType;

/**
 * <p>
 * 
 * </p>
 *
 * @author Levy
 * @since 2020-02-20
 */
public class InspectPlan extends Model<InspectPlan> {

    private static final long serialVersionUID = 1L;

   @TableId(value = "HANDLE", type = IdType.INPUT)
   private String handle;
   @TableField("SITE")
   private String site;
   @TableField("OBJECT")
   private String object;
   @TableField("WORK_CENTER")
   private String workCenter;
   @TableField("OPERATION")
   private String operation;
   @TableField("ITEM_GROUP")
   private String itemGroup;
   @TableField("RESRCE")
   private String resrce;
   @TableField("CREATED_USER")
   private String createdUser;
   @TableField("CREATED_DATE_TIME")
   private Date createdDateTime;
   @TableField("UPDATED_USER")
   private String updatedUser;
   @TableField("UPDATED_DATE_TIME")
   private Date updatedDateTime;


   public String getHandle() {
      return handle;
   }

   public void setHandle(String handle) {
      this.handle = handle;
   }

   public String getSite() {
      return site;
   }

   public void setSite(String site) {
      this.site = site;
   }

   public String getObject() {
      return object;
   }

   public void setObject(String object) {
      this.object = object;
   }

   public String getWorkCenter() {
      return workCenter;
   }

   public void setWorkCenter(String workCenter) {
      this.workCenter = workCenter;
   }

   public String getOperation() {
      return operation;
   }

   public void setOperation(String operation) {
      this.operation = operation;
   }

   public String getItemGroup() {
      return itemGroup;
   }

   public void setItemGroup(String itemGroup) {
      this.itemGroup = itemGroup;
   }

   public String getResrce() {
      return resrce;
   }

   public void setResrce(String resrce) {
      this.resrce = resrce;
   }

   public String getCreatedUser() {
      return createdUser;
   }

   public void setCreatedUser(String createdUser) {
      this.createdUser = createdUser;
   }

   public Date getCreatedDateTime() {
      return createdDateTime;
   }

   public void setCreatedDateTime(Date createdDateTime) {
      this.createdDateTime = createdDateTime;
   }

   public String getUpdatedUser() {
      return updatedUser;
   }

   public void setUpdatedUser(String updatedUser) {
      this.updatedUser = updatedUser;
   }

   public Date getUpdatedDateTime() {
      return updatedDateTime;
   }

   public void setUpdatedDateTime(Date updatedDateTime) {
      this.updatedDateTime = updatedDateTime;
   }

   public static final String HANDLE = "HANDLE";

   public static final String SITE = "SITE";

   public static final String OBJECT = "OBJECT";

   public static final String WORK_CENTER = "WORK_CENTER";

   public static final String OPERATION = "OPERATION";

   public static final String ITEM_GROUP = "ITEM_GROUP";

   public static final String RESRCE = "RESRCE";

   public static final String CREATED_USER = "CREATED_USER";

   public static final String CREATED_DATE_TIME = "CREATED_DATE_TIME";

   public static final String UPDATED_USER = "UPDATED_USER";

   public static final String UPDATED_DATE_TIME = "UPDATED_DATE_TIME";

   @Override
   protected Serializable pkVal() {
      return this.handle;
   }

   @Override
   public String toString() {
      return "InspectPlan{" +
         "handle = " + handle +
         ", site = " + site +
         ", object = " + object +
         ", workCenter = " + workCenter +
         ", operation = " + operation +
         ", itemGroup = " + itemGroup +
         ", resrce = " + resrce +
         ", createdUser = " + createdUser +
         ", createdDateTime = " + createdDateTime +
         ", updatedUser = " + updatedUser +
         ", updatedDateTime = " + updatedDateTime +
         "}";
   }
}